package com.zhongkai.app.controller;

import com.zhongkai.model.utils.ZhongkaiResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TokenController {

/*    @Autowired
    private TokenService tokenService;*/

    @RequestMapping(value = "/login2",produces = "application/json;charset=utf-8")
    @ResponseBody
    public ZhongkaiResult addToken() {
        // User user = new User("我的名字", "我是密码");
        //userService.save(user);
       // ZhongkaiResult zhongkaiResult = tokenService.getUserToken("22");

        return null;
    }
}
